Skip to main content

search-js

Search

Bkoi.search(string, callback)

This method performs location search using Barikoi Search API. It accepts two arguments a query string and a callback function and returns an array of locations

Example

//  Search for 'cafe'

Bkoi.search("cafe", (response) => console.log(response));

Barikoi.js provides Autocomplete UI for search. Tutorial on Autocomplete UI can be found here